package net.zjitc.mapper;

import net.zjitc.pojo.User;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @Author admin
 * @Date 2019/3/27 13:35
 */
@Repository
public interface UserMapper {
    User checkname(String username);
    User checkemail(String email);
    User login(@Param(value = "username") String username, @Param(value = "password") String password);
    User findById(Integer user_id);
}
